package com.tjh.gulimall.product.feign;

import com.tjh.common.es.SkuEsModel;
import com.tjh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * • @Description: TODO
 * • @author  : tjh
 * • @Date 2022-10-10 17:11
 */
@FeignClient("gulimall-search")
public interface SearchFeignService {

    @PostMapping(value = "/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);



}
